package com.hotel.service;

import java.sql.SQLException;
import java.util.List;

import com.hotel.bean.Hotelinfor;
//路遥
public interface HotelinService {
	//根据酒店名称模糊查询
	List<Hotelinfor> queryByName(String hname) throws SQLException;

	//根据地区查询
	List<Hotelinfor> queryByArea(String harea) throws SQLException;
	
	Hotelinfor qureyHotelById(int hid) throws SQLException;
}
